package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 电能统计对象 wcs_power
 * 
 * @author ZYT
 * @date 2021-06-12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WcsPowerExport
{
    private static final long serialVersionUID = 1L;


    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceNo;


    /** 数据值 */
    @Excel(name = "开始时间电表值")
    private Double beginValue;

    /** 数据值 */
    @Excel(name = "结束时间电表值")
    private Double endValue;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 数据值 */
    @Excel(name = "耗电量")
    private Double usePower;

}
